/**
 * 
 *
 * 
 * 
 */
package com.oss.player;

import com.east196.xfast.aop.AopContext;
import com.east196.xfast.template.single.SingleIntercept;
import com.jfinal.plugin.activerecord.Record;

public class PlayerIntercept extends SingleIntercept {

	@Override
	public void importBefore(AopContext ac) throws Exception {
		for (Record record : ac.records) {
			if ("3".equals(record.getStr("status"))) {
				throw new Exception("数据状态异常");
			}
		}
	}

}
